package com.balusoft.shared.domain;

import javax.persistence.Embedded;
import javax.persistence.Id;

import com.googlecode.objectify.Key;

public class Contractor {
	@Id Long id;
	String title;
	Key<Person> person;
	@Embedded Skill[] skills;
	
	public Contractor(){}

	public Contractor(Key<Person> person, Skill[] skills, String title) {
		this.title = title;
		this.person = person;
		this.skills = skills;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Key<Person> getPerson() {
		return person;
	}

	public void setPerson(Key<Person> person) {
		this.person = person;
	}

	public Skill[] getSkills() {
		return skills;
	}

	public void setSkills(Skill[] skills) {
		this.skills = skills;
	};
	
	
}
